package com.bwie.mapper;

import com.bwie.common.Type;
import com.bwie.common.domain.Coupon;
import com.bwie.common.domain.CouponUser;
import com.bwie.common.domain.request.CouponAdd;
import com.bwie.common.domain.request.CouponRequest;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @className: CouponMapper
 * @Description: TODO
 * @version: v1.８.0
 * @author: 张雨乐
 * @date: 2025/9/12 10:22
 */
@Mapper
public interface CouponMapper {
    List<Coupon> couponList(CouponRequest couponRequest);

    List<Type> typeList(@Param("id") String id);

    void couponAdd(CouponAdd couponAdd);

    List<CouponUser> couponUserList(CouponRequest couponRequest);
}
